<script setup>
import { useRoute,useRouter } from 'vue-router';
import { ArrowRight } from '@element-plus/icons-vue';

const route = useRoute();


</script>

<template>
    <div class="header">
        <div class="header-left">
            <el-breadcrumb :separator-icon="ArrowRight">
                <el-breadcrumb-item :to="{ path: '/' }">homepage</el-breadcrumb-item>
                <el-breadcrumb-item>promotion management</el-breadcrumb-item>
                <el-breadcrumb-item>promotion list</el-breadcrumb-item>
                <el-breadcrumb-item>promotion detail</el-breadcrumb-item>
            </el-breadcrumb </div>
        </div>
        <div class="header-right">
            <el-icon size="30"><Avatar/></el-icon>
        </div>
    </div>
</template>

<style lang="scss" scoped>
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

</style>